package com.howlaisi.sms.teacher.pojo.entity;

import com.howlaisi.sms.base.pojo.entity.BaseEntity;

import javax.security.auth.Subject;
import java.time.LocalDate;
import java.util.List;

/**
 * @author 张师傅
 * @date 2024/9/10
 */
public class TeacherEntity extends BaseEntity {
    private String name;
    private List<Subject> subjects; // 老师教授的科目列表
    // 性别（可以使用枚举、字符串或其他方式表示）
    private String gender;

    // 年龄
    private Integer age;

    // 生日
    private LocalDate birthdate; // 假设使用Java 8的LocalDate类型

    // 联系电话
    private String phoneNumber;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Subject> getSubjects() {
        return subjects;
    }

    public void setSubjects(List<Subject> subjects) {
        this.subjects = subjects;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public LocalDate getBirthdate() {
        return birthdate;
    }

    public void setBirthdate(LocalDate birthdate) {
        this.birthdate = birthdate;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
}
